﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChooseSchool.aspx.cs" Inherits="HealthSystem.ChooseSchool" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
     <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" runat="server" AutoSizePanelID="p1" />
     <ext:Panel  runat="server" ID="p1" Layout="Fit" Title="学校选择" ShowHeader="false" ShowBorder="false">
        <Toolbars>
            <ext:Toolbar ID="Toolbar1" runat="server">
                <Items>
                      <ext:HiddenField runat="server" ID="actionbt"></ext:HiddenField>
                      <ext:ToolbarSeparator ID="ToolbarSeparator1" runat="server"></ext:ToolbarSeparator>
                      <ext:TriggerBox runat="server" ID="searchbox" EmptyText="输入名称查询" TriggerIcon="Search" OnTriggerClick="Search_Clik"></ext:TriggerBox>
                     <ext:ToolbarFill ID="ToolbarFill1" runat="server"></ext:ToolbarFill>
                     <%--<ext:Button runat="server" Text="新增学校" ID="Newbt"></ext:Button>--%>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Items>
        
                   <ext:Grid runat="server" ID="Gird1" DataKeyNames="SchoollCode,name" AllowPaging="true" IsDatabasePaging="true" EnableRowNumber="true"
                 EnableRowDoubleClick="true" OnRowDoubleClick="Double_Click" ShowHeader="false"  AutoPostBack="true" OnPageIndexChange="PageIndexChange">
                <Columns>
                    <%--<ext:BoundField DataField="SchoollCode" HeaderText="机构编码" />--%>
                    <ext:BoundField DataField="Name" HeaderText="学校名称" Width="150px" />
                    <ext:BoundField DataField="Address" HeaderText="地址" />
                    <ext:BoundField DataField="LinkMan" HeaderText="联系人" />
                    <%--<ext:BoundField DataField="districtname" HeaderText="所在区县" />
                     <ext:LinkButtonField HeaderText="删除" TextAlign="Center" Icon="Delete"
                ColumnID="lbfAction1" Width="40px" CommandName="delete" Text="" />--%>
                </Columns>
            </ext:Grid>
       
            
        </Items>
    </ext:Panel>
    </form>
</body>
</html>
